package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.RequestParams;
import com.hmall.search.pojo.itemDoc;

import java.util.List;
import java.util.Map;

public interface SearchService {

    List<String> suggestion(String key);

    Map<String, List<String>> filters(RequestParams params);


    PageDTO<itemDoc> search(RequestParams params);

}
